-- GENERATED SPELL FOR [Valhalas Vargul] --


function spell0_30250(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30250', 662, 1)
end

function Sorts_30250(pUnit, Event)
local choix_sorts_30250 = math.random(0, 0)
if choix_sorts_30250 == 0 then
pUnit:RegisterEvent('spell0_30250', 1, 1)
end
end

function mob30250_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30250', math.random(1500, 3000), 1)
end

function mob30250_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30250_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30250_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30250, 1, 'mob30250_Action')
RegisterUnitEvent(30250, 2, 'mob30250_Leave')
RegisterUnitEvent(30250, 3, 'mob30250_Kill')
RegisterUnitEvent(30250, 4, 'mob30250_Die')
